<template>
    <div class="box">
      <div class="box2">
        <div></div>
      </div>
      <div class="box3">
        <h2>有猫</h2>
      </div>
      <div class="box4">
        <img src="../../assets/images/zi.png" alt="" />
      </div>
    </div>
</template>

<script>
import router from '@/router';
export default {
  name: "home_chk",
  setup() {
    setTimeout(()=>{
      router.push({
        path:'/carousel'
      })
    },2000)
  },
};
</script>

<style lang="less" scoped>
* {
  margin: 0;
  padding: 0;
}
.box {
  position: relative;
  width: 25.9375rem;
  height: 100vh;
  margin: 0 auto;
  background: #ffffff;
}
.box2 {
  width: 25.9375rem;
  height: 7.0625rem;
  position: relative;
  top: 18.75rem;
  div {
    width: 6.0625rem;
    height: 6.0625rem;
    border-radius: 3.125rem;
    border: .5rem solid #fb4679;
    margin: auto;
  }
}
.box3 {
  width: 25.9375rem;
  position: relative;
  height: 6.25rem;
  top: 18.75rem;
  h2 {
    text-align: center;
    line-height: 7.5rem;
    font-size: 1.875rem;
    color: #000000;
    font-weight: bold;
    font-family: "Ping Fang  SC  Bold";
  }
}

.box4 {
  width: 25.9375rem;
  height: 6.25rem;
  position: absolute;
  bottom: 10%;
  overflow: hidden;
  img {
    position: relative;
    left: 2.5rem;
  }
}
</style>